<%@page contentType="text/html;charset=UTF-8"%>

<!DOCTYPE html>
<html>
	<head>
		<meta charset='utf-8'>
		<title>add</title>

		<%--相当于http://localhost:8080/oa/   注意不要分成两端，回车会读进路径里面--%>
		<base href="${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}/">
	</head>
	<body>
		<h1>新增部门</h1>
		<hr>
		<form action='dept/add' method='post' >
			部门编号<input type="text" name='deptno'/><br>
			部门名称<input type="text" name='dname'/><br>
			部门位置<input type="text" name='loc'/><br>
			<input type='submit' value='保存'/><br>
		</form>
	</body>
</html>
